| Fully Qualified Name: | Zend\Db\Sql\Ddl\Column\Float |
| Extends: | Floating |
Stub class for backwards compatibility.
Since PHP 7 adds "float" as a reserved keyword, we can no longer have a class named that and retain PHP 7 compatibility. The original class has been renamed to "Floating", and this class is now an extension of it. It raises an E_USER_DEPRECATED to warn users to migrate.
{@inheritDoc}
Raises a deprecation notice.
| Parameter Name | Type | Description |
|---|---|---|
| $name | ||
| $digits | ||
| $decimal | ||
| $nullable | ||
| $default | ||
| $options |
Returns:
| Parameter Name | Type | Description |
|---|---|---|
| $constraint | \ConstraintInterface |
Returns: self Provides a fluent interface
Returns: int|null
Returns: null|string|int
Returns: int
Returns: array
Returns: int
Returns: null|string
Returns: array
Returns: bool
| Parameter Name | Type | Description |
|---|---|---|
| $decimal | int|null |
Returns: self Provides a fluent interface
| Parameter Name | Type | Description |
|---|---|---|
| $default | null|string|int |
Returns: self Provides a fluent interface
| Parameter Name | Type | Description |
|---|---|---|
| $digits | int |
Returns: self
| Parameter Name | Type | Description |
|---|---|---|
| $length | int |
Returns: self Provides a fluent interface
| Parameter Name | Type | Description |
|---|---|---|
| $name | string |
Returns: self Provides a fluent interface
| Parameter Name | Type | Description |
|---|---|---|
| $nullable | bool |
Returns: self Provides a fluent interface
| Parameter Name | Type | Description |
|---|---|---|
| $name | string | |
| $value | string |
Returns: self Provides a fluent interface
| Parameter Name | Type | Description |
|---|---|---|
| $options | array |
Returns: self Provides a fluent interface